package com.example.demojenkins.newserver.controller;


import com.example.demojenkins.newserver.utils.PushUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试手动推送
 */
@RestController
public class TestController {

    @Autowired
    private PushUtil pushUtil;

    @RequestMapping("test")
    public String test() {
        return pushUtil.push();
    }
}
